﻿using System;
using System.Collections.Generic;
using System.Text;

namespace EShop.Model
{
    public class MemberInfo
    {
        private string _MemberID;
        /// <summary>
        /// 会员ID
        /// </summary>
        public string MemberID
        {
            get { return _MemberID; }
            set { _MemberID = value; }
        }

        private string _MemberName;
        /// <summary>
        /// 会员姓名
        /// </summary>
        public string MemberName
        {
            get { return _MemberName; }
            set { _MemberName = value; }
        }

        private byte _MemberSex;
        /// <summary>
        /// 会员性别
        /// </summary>
        public byte MemberSex
        {
            get { return _MemberSex; }
            set { _MemberSex = value; }
        }

        private DateTime _Brithday;
        /// <summary>
        /// 会员生日
        /// </summary>
        public DateTime Brithday
        {
            get { return _Brithday; }
            set { _Brithday = value; }
        }

        private byte _IsGregorianCalendar;
        /// <summary>
        /// 是否公历
        /// </summary>
        public byte IsGregorianCalendar
        {
            get { return _IsGregorianCalendar; }
            set { _IsGregorianCalendar = value; }
        }

        private string _MemberAddress;
        /// <summary>
        /// 会员联系地址
        /// </summary>
        public string MemberAddress
        {
            get { return _MemberAddress; }
            set { _MemberAddress = value; }
        }

        private string _MemberMobel;
        /// <summary>
        /// 会员联系方式
        /// </summary>
        public string MemberMobel
        {
            get { return _MemberMobel; }
            set { _MemberMobel = value; }
        }

        private int _LevelID;
        /// <summary>
        /// 会员等级ID
        /// </summary>
        public int LevelID
        {
            get { return _LevelID; }
            set { _LevelID = value; }
        }

        private string _LevelName;
        /// <summary>
        /// 会员等级名称
        /// </summary>
        public string LevelName
        {
            get { return _LevelName; }
            set { _LevelName = value; }
        }

        private DateTime _CreateTime;
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime
        {
            get { return _CreateTime; }
            set { _CreateTime = value; }
        }

        private int _Type;
        /// <summary>
        /// 会员状态
        /// </summary>
        public int Type
        {
            get { return _Type; }
            set { _Type = value; }
        }

        private decimal _Discount = 1.00m;
        //折扣
        public decimal Discount
        {
            get { return _Discount; }
            set { _Discount = value; }
        }
    }
}
